package net.minecraft.src;
import java.util.Random;

public class mod_Pyrite extends BaseMod
{
    public static final Block pyriteBlock = new BlockPyrite(239,0).setHardness(3F).setResistance(4.0F).setBlockName("GG");
    
    public mod_Pyrite()
	{
       ModLoader.RegisterBlock(pyriteBlock);
       pyriteBlock.blockIndexInTexture = ModLoader.addOverride("/terrain.png","/Pyrite.png");
       ModLoader.AddName(pyriteBlock, "Pyrite");   
	}
    
    public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ)
    {
    	for (int i=0; i < 35; i++)
    	{
    		int randPosX = chunkX + rand.nextInt(8);
    		int randPosY = rand.nextInt(32);
    		int randPosZ = chunkZ + rand.nextInt(8);
    		(new WorldGenMinable(pyriteBlock.blockID, 5)).generate(world, rand, randPosX, randPosY, randPosZ);
    	}
    }

	public String Version()
	{
		return "3.14159265";
	}
}    